package com.etong.frame.directive.checker;

import java.util.ArrayList;
import java.util.List;

public class CheckerGroup {
	private String groupName;
	private CheckerConfig checkerConfig;
	private List<Checker> checkers = new ArrayList<Checker>();

	public List<Checker> getCheckers() {
		return checkers;
	}

	public void setCheckers(List<Checker> checkers) {
		this.checkers = checkers;
	}

	public void addChecker(Checker checker) {
		if (null != checker) {
			this.checkers.add(checker);
		}
	}

	public CheckerConfig getCheckerConfig() {
		return checkerConfig;
	}

	public void setCheckerConfig(CheckerConfig checkerConfig) {
		this.checkerConfig = checkerConfig;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
}
